html, body, #root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--ant-color-bg-layout);
  color: var(--ant-color-text);
}

.ant-layout {
  width: 100%;
  height: 100%;
  background-color: var(--ant-color-bg-layout);
}

/* 确保内容区域可以滚动 */
.ant-layout-content {
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--ant-color-bg-layout);
}

#root {
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
  background-color: var(--ant-color-bg-container);
}

.logo:hover {
  filter: drop-shadow(0 0 2em var(--ant-color-primary));
}

.logo.react:hover {
  filter: drop-shadow(0 0 2em var(--ant-color-primary));
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}
